package ru.budget.mobile.di

import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module
import ru.budget.mobile.domain.usecase.consumption.AddConsumptionUseCase
import ru.budget.mobile.domain.usecase.consumption.GetConsumptionListUseCase
import ru.budget.mobile.domain.usecase.income.AddIncomeUseCase
import ru.budget.mobile.domain.usecase.income.GetIncomeListUseCase
import ru.budget.mobile.ui.base.BudgetViewModel

val viewModelsModule = module {
    viewModel {
        BudgetViewModel(
            getIncomeListUseCase = get<GetIncomeListUseCase>(),
            addIncomeUseCase = get<AddIncomeUseCase>(),
            getConsumptionListUseCase = get<GetConsumptionListUseCase>(),
            addConsumptionUseCase = get<AddConsumptionUseCase>()
        )
    }
}
